//
//  XLGDownloadPool+XLGDownloadPoolInternal.m
//  etionCBLogic
//
//  Created by wjxfhxy on 15-8-20.
//  Copyright (c) 2015年 GuangZhouXuanWu. All rights reserved.
//

#import "XLGDownloadPoolItem+XLGDownloadPoolInternal.h"

@implementation XLGDownloadPoolItem (XLGDownloadPoolInternalItem)

- (void)setPoolDelegate:(id<XLGDownloadPoolDelegate>)poolDelegate
{
    [self setAssociatedAssingValue:poolDelegate withKey:"pooldelegate"];
}

- (id<XLGDownloadPoolDelegate>)poolDelegate
{
    return [self associatedValueForKey:"pooldelegate"];
}


- (BOOL)startItem
{
    return NO;
}

- (void)stopItem
{
    [self.poolDelegate removeDownloadOperation:self];
}

@end
